﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CMPPProtocol.Message;

namespace CMPPProtocol
{
    public abstract class ProtocolStrategy
    {
        internal abstract byte[] GetBytes(ICMPP_Protocol message);

        internal abstract T FromBytes<T>(byte[] buffer) where T : ICMPP_Protocol, new();
    }
}
